Optimal. Leaf size=111 \[ -\frac{i b m n \text{PolyLog}\left (2,-\frac{i \sqrt{f} x}{\sqrt{e}}\right )}{2 \sqrt{e} \sqrt{f}}+\frac{i b m n \text{PolyLog}\left (2,\frac{i \sqrt{f} x}{\sqrt{e}}\right )}{2 \sqrt{e} \sqrt{f}}+\frac{\tan ^{-1}\left (\frac{\sqrt{f} x}{\sqrt{e}}\right ) \left (a+b \log \left (c \left (d x^m\right )^n\right )\right )}{\sqrt{e} \sqrt{f}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.161518, antiderivative size = 111, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 6, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.25, Rules used = {205, 2324, 12, 4848, 2391, 2445} \[ -\frac{i b m n \text{PolyLog}\left (2,-\frac{i \sqrt{f} x}{\sqrt{e}}\right )}{2 \sqrt{e} \sqrt{f}}+\frac{i b m n \text{PolyLog}\left (2,\frac{i \sqrt{f} x}{\sqrt{e}}\right )}{2 \sqrt{e} \sqrt{f}}+\frac{\tan ^{-1}\left (\frac{\sqrt{f} x}{\sqrt{e}}\right ) \left (a+b \log \left (c \left (d x^m\right )^n\right )\right )}{\sqrt{e} \sqrt{f}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 205
Rule 2324
Rule 12
Rule 4848
Rule 2391
Rule 2445
Rubi steps
\begin{align*} \int \frac{a+b \log \left (c \left (d x^m\right )^n\right )}{e+f x^2} \, dx &=\operatorname{Subst}\left (\int \frac{a+b \log \left (c d^n x^{m n}\right )}{e+f x^2} \, dx,c d^n x^{m n},c \left (d x^m\right )^n\right )\\ &=\frac{\tan ^{-1}\left (\frac{\sqrt{f} x}{\sqrt{e}}\right ) \left (a+b \log \left (c \left (d x^m\right )^n\right )\right )}{\sqrt{e} \sqrt{f}}-\operatorname{Subst}\left ((b m n) \int \frac{\tan ^{-1}\left (\frac{\sqrt{f} x}{\sqrt{e}}\right )}{\sqrt{e} \sqrt{f} x} \, dx,c d^n x^{m n},c \left (d x^m\right )^n\right )\\ &=\frac{\tan ^{-1}\left (\frac{\sqrt{f} x}{\sqrt{e}}\right ) \left (a+b \log \left (c \left (d x^m\right )^n\right )\right )}{\sqrt{e} \sqrt{f}}-\operatorname{Subst}\left (\frac{(b m n) \int \frac{\tan ^{-1}\left (\frac{\sqrt{f} x}{\sqrt{e}}\right )}{x} \, dx}{\sqrt{e} \sqrt{f}},c d^n x^{m n},c \left (d x^m\right )^n\right )\\ &=\frac{\tan ^{-1}\left (\frac{\sqrt{f} x}{\sqrt{e}}\right ) \left (a+b \log \left (c \left (d x^m\right )^n\right )\right )}{\sqrt{e} \sqrt{f}}-\operatorname{Subst}\left (\frac{(i b m n) \int \frac{\log \left (1-\frac{i \sqrt{f} x}{\sqrt{e}}\right )}{x} \, dx}{2 \sqrt{e} \sqrt{f}},c d^n x^{m n},c \left (d x^m\right )^n\right )+\operatorname{Subst}\left (\frac{(i b m n) \int \frac{\log \left (1+\frac{i \sqrt{f} x}{\sqrt{e}}\right )}{x} \, dx}{2 \sqrt{e} \sqrt{f}},c d^n x^{m n},c \left (d x^m\right )^n\right )\\ &=\frac{\tan ^{-1}\left (\frac{\sqrt{f} x}{\sqrt{e}}\right ) \left (a+b \log \left (c \left (d x^m\right )^n\right )\right )}{\sqrt{e} \sqrt{f}}-\frac{i b m n \text{Li}_2\left (-\frac{i \sqrt{f} x}{\sqrt{e}}\right )}{2 \sqrt{e} \sqrt{f}}+\frac{i b m n \text{Li}_2\left (\frac{i \sqrt{f} x}{\sqrt{e}}\right )}{2 \sqrt{e} \sqrt{f}}\\ \end{align*}
Mathematica [A] time = 0.0837419, size = 113, normalized size = 1.02 \[ \frac{b m n \text{PolyLog}\left (2,\frac{\sqrt{f} x}{\sqrt{-e}}\right )-b m n \text{PolyLog}\left (2,\frac{e \sqrt{f} x}{(-e)^{3/2}}\right )+\left (\log \left (\frac{\sqrt{f} x}{\sqrt{-e}}+1\right )-\log \left (\frac{e \sqrt{f} x}{(-e)^{3/2}}+1\right )\right ) \left (-\left (a+b \log \left (c \left (d x^m\right )^n\right )\right )\right )}{2 \sqrt{-e} \sqrt{f}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.065, size = 0, normalized size = 0. \begin{align*} \int{\frac{a+b\ln \left ( c \left ( d{x}^{m} \right ) ^{n} \right ) }{f{x}^{2}+e}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{b \log \left (\left (d x^{m}\right )^{n} c\right ) + a}{f x^{2} + e}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{a + b \log{\left (c \left (d x^{m}\right )^{n} \right )}}{e + f x^{2}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{b \log \left (\left (d x^{m}\right )^{n} c\right ) + a}{f x^{2} + e}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]